package com.ibm.demoBankJSF.beans;


import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;




public class DesconexionBean {
	
	public String desconectar() {
		HttpSession sesion = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(true);
		sesion.invalidate();
		return "okDesconexion";
	}

}
